phase of
compilation. This means that the same block of
library code can be shared between several
tasks rather than
each task containing copies of the routines it uses. The
executable is compiled with a library of "
stubs" which allow
must arrange for library calls to be patched with the
addresses of the real shared library routines, possibly via a
The alternative is to make library calls part of the
trap instruction. This is generally less efficient than an
It is important to ensure that the version of a dynamically
linked library is compatible with what the executable expects.
Examples of operating systems using dynamic linking are
modules).
(1995-12-12)